package com.mxchen.lottery.infr.gatewayimpl.activity.convert;

import cn.hutool.core.convert.Convert;
import com.mxchen.lottery.domain.strategy.model.AwardDetails;
import com.mxchen.lottery.domain.strategy.model.StrategyDetails;
import com.mxchen.lottery.infr.gatewayimpl.activity.model.Strategy;
import com.mxchen.lottery.infr.gatewayimpl.activity.model.StrategyDetail;

/**
 * @author : hmxchen
 * @program : lottery-964-mxchen
 * @description :
 * @create : 2021-12-17 10:17
 **/
public class StrategyDetailsConvert {
    public static StrategyDetails from(Strategy strategy){
        return Convert.convert(StrategyDetails.class,strategy);
    }
}
